package yun520.xyz.javastudy.controlller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.text.SimpleDateFormat;
import java.util.Date;

@RestController
public class a

{
    @GetMapping("/")
    public String GetMapping(){
        return "今天也要加油呀"+new SimpleDateFormat("yyyy-MM-dd").format(new Date());
    }
}
